package com.hzmg.config;

import com.hzmg.route.RouteDefinition;
import com.hzmg.route.RouteDefinitionLocator;


import java.util.List;

/**
 * 从配置文件中读取网关配置信息
 */
public class PropertiesRouteDefinitionLocator implements RouteDefinitionLocator {

    private final GatewayProperties properties;

    public PropertiesRouteDefinitionLocator(GatewayProperties properties) {
        this.properties = properties;
    }

    @Override
    public List<RouteDefinition> getRouteDefinitions() {
        return null;
    }

}
